package com.ruoyi.womp.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 备件出入库对象 womp_spare_parts_inout
 * 
 * @author mzz
 * @date 2023-05-11
 */
public class WompSparePartsInout extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer id;

    /** 备件编号 */
    @Excel(name = "备件编号")
    private Integer sparePartId;

    /** 出入类型 */
    @Excel(name = "出入类型")
    private Integer inoutType;

    /** 数量 */
    @Excel(name = "数量")
    private Integer num;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setSparePartId(Integer sparePartId) 
    {
        this.sparePartId = sparePartId;
    }

    public Integer getSparePartId() 
    {
        return sparePartId;
    }
    public void setInoutType(Integer inoutType) 
    {
        this.inoutType = inoutType;
    }

    public Integer getInoutType() 
    {
        return inoutType;
    }
    public void setNum(Integer num) 
    {
        this.num = num;
    }

    public Integer getNum() 
    {
        return num;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("sparePartId", getSparePartId())
            .append("inoutType", getInoutType())
            .append("num", getNum())
            .append("remark", getRemark())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
